package com.composite.self;

public class Department extends BaseOrganization{


    public Department(String name, String state) {
        super(name, state);
    }

    @Override
    public String getName() {
        return super.getName();
    }

    @Override
    public String getState() {
        return super.getState();
    }

    @Override
    public void print() {
        System.out.println(super.getName());
    }
}
